import axios from 'common/js/axios'
import Config from '@/config'

// 获取所有行业和职位列表
export function Industry() {
    const url = '/Job/industry'

    return axios.post(url, {})
}

// 用户列表
export function UserSaasSelector(json) {
    const url = '/worker/userSaasSelector'

    return axios.post(url, json)
}

// 福利列表
export function Tag() {
    const url = '/Job/welfare'

    return axios.post(url, {})
}

// 获取省
export function Provinces() {
    const url = '/admin/provinces'

    return axios.post(url, {})
}

// 获取市
export function Cities(json) {
    const url = '/admin/cities'

    return axios.post(url, json)
}

// 获取区
export function Areas(json) {
    const url = '/admin/areas'

    return axios.post(url, json)
}

// 获取平台区域
export function workerArea(json) {
    const url = '/worker/area'

    return axios.post(url, {})
}